SGSetChannelVolume
TheSGSetChannelVolume
function sets your channel's sound volume.
pascal ComponentResult SGSetChannelVolume (SGChannel c, short volume);
c
- Identifies the channel connection for this operation.
volume
- Specifies the volume setting of your channel represented as a 16-bit, fixed-point number. The high-order 8 bits contain the integer part of the value; the low-order 8 bits contain the fractional part. Volume values range from -1.0 to 1.0. Negative values play no sound but preserve the absolute value of the volume setting.
DESCRIPTION
Use this volume setting during playback--this setting should not affect the record level or the volume of the track in the recorded QuickTime movie.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help